package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 患者对象 med_patient
 * 
 * @author yangxp
 * @date 2020-08-03
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("med_patient")
public class Patient implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** $column.columnComment */
    @TableId(value = "pat_id", type = IdType.AUTO)
    private String patId;

    /** 患者名字 */
    @Excel(name = "患者名字")

    private String patName;

    /** 患者性别 */
    @Excel(name = "患者性别")

    private Integer patGender;

    /** 患者年龄 */
    @Excel(name = "患者年龄")

    private Integer patAge;

    /** 患者电话 */
    @Excel(name = "患者电话")

    private String patPhone;

    /** 患者住址 */
    @Excel(name = "患者住址")

    private String patAddr;

    /** 详细地址 */
    @Excel(name = "详细地址")

    private String patAddrDetail;

    /** $column.columnComment */

    private Date gmtCreate;

    /** $column.columnComment */

    private Date gmyModified;

    @TableLogic
    private Integer isDeleted;
}
